package es.uned.hoomgle.core.services.interfaces;

import java.util.List;

import org.springframework.beans.BeanUtils;
import org.springframework.transaction.annotation.Transactional;

import es.uned.hoomgle.core.dtos.CityDto;
import es.uned.hoomgle.core.dtos.StateDto;
import es.uned.hoomgle.hibernate.beans.interfaces.CityI;


public interface CityServiceI {
	
	@Transactional
	public abstract List <CityI> getQuery(String query);
	
	/**
	 * Transforma una entidad de ciudad en un objeto de negocio
	 * 
	 * @param entity
	 * @return
	 */
	public CityI entityToDto(CityI entity);

}
